<template>
    <iframe :src="url" frameborder="0" id="bdIframe" ref="iframe" scrolling="yes"></iframe>
</template>

<script>
    export default {
        name: "iframe1",
        data() {
            return {
                url: ''
            }
        },
        mounted() {
            this.url = this.$route.params.url;
            const oIframe = document.getElementById('bdIframe');
            oIframe.style.width = 100 + '%';
            oIframe.style.height = 99 + '%';

        }
    }
</script>

<style scoped>

</style>
